around them so not meant for
e.g. section heads or whatever text; it's for images, framed stuff,
maybe bTABLE etc
Hans
-
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH
r][first][style=bold]
\setupTABLE[r][each][
topoffset=1em,bottomoffset=0.5em,
background=sketchylines,
% would be nice if the background wouldn’t start at each column
]
\setupTABLE[c][each][frame=off]
\bTABLE[]
\bTR
\bTD{Stadt}\eTD
\bTD{Land}\eTD
\bTD{Fluss}\eTD
\eTR
\dorecurse
(OverlayBox is the size
of the cell).
begin example
\startuseMPgraphic{dottedborder}
draw OverlayBox withpen pencircle scaled 2 dashed withdots
withcolor "red";
\stopuseMPgraphic
\defineoverlay[dottedborder][\useMPgraphic{dottedborder}]
\starttext
\bTABLE[frame=off,
example
\startuseMPgraphic{dottedborder}
draw OverlayBox withpen pencircle scaled 2 dashed withdots withcolor
"red";
\stopuseMPgraphic
\defineoverlay[dottedborder][\useMPgraphic{dottedborder}]
\starttext
\bTABLE[frame=off,background=dottedborder]
Thank you!
Since I needed only horizo
OverlayBox withpen pencircle scaled 2 dashed withdots withcolor
"red";
\stopuseMPgraphic
\defineoverlay[dottedborder][\useMPgraphic{dottedborder}]
\starttext
\bTABLE[frame=off,background=dottedborder]
\bTR
\bTD Hello Table! \eTD
\eTR
\eTABLE
\stoptext
end example
dth]
\stopplacefigure
\samplefile{lorem}
\startplacetable
\bTABLE
\bTR
\bTD one \eTD
\bTD two \eTD
\bTD three \eTD
\eTR
\eTABLE
\stopplacetable
\samplefile{lorem}
\startplacetable
\bTABLE[textwidth=\dimexpr\textwidth+\rightmarginwidth+\rightmargindistance\relax,opt
TABLE[r][2,3,4,5,6,8,9,11,12,14][bottomframe=off]
> \setupTABLE[r][1][bottomframe=on]
> \bTABLE[split=yes]
> \bTR\bTD {\it Lesson}\eTD\bTD {\it
> Time} \\eTD\bTD {\it Date} \eTD\bTD {\it Page} \eTD\eTR
>
=on]
\bTABLE[split=yes]
\bTR\bTD {\it Lesson} \eTD\bTD {\it
Time} \\eTD\bTD {\it Date} \eTD\bTD {\it Page} \eTD\eTR
\eTABLE
What I've been finding is that previous settings on TABLES appearing
earlier in the document
=.1\textwidth]
\setupTABLE[c][1,2,3,4,5][align=raggedleft,
frame=off]
%\setupTABLE[r][2,3,4,5,6,8,9,11,12,14][bottomframe=off]
\setupTABLE[r][1][bottomframe=on]
\bTABLE[split=yes
It does not seem to have an effect to the table. The distance between the
rows remains the same
Thanks, Jeroen
Op ma 11 sep 2023 om 09:08 schreef :
> \bTABLE[spaceinbetween=0cm]
>
> ...
>
> \eTABLE
>
>
>
>
>
>
>
> *Von:* Jeroen
> *Gesendet:* Sonntag
]
\starttext
\bTABLE
\bTR
\bTD Cell 1:1 \eTD
\bTD Cell 1:2 \eTD
\bTD Cell 1:3 \eTD
\eTR
\bTR
\bTD Cell 2:1 \eTD
\bTD Cell 2:2 \eTD
\bTD Cell 2:3 \eTD
\eTR
\bTR
\bTD Cell 3:1 \eTD
\bTD Cell 3:2 \eTD
\bTD Cell 3:3 \eTD
\eTR
\eTABLE
\bTABLE[spaceinbetween=0cm]
...
\eTABLE
Von: Jeroen
Gesendet: Sonntag, 10. September 2023 22:05
An: mailing list for ConTeXt users
Betreff: [NTG-context] Reduce space between lines in Natural Tables
Is there an easy way to reduce the line space between rows in a natural table
so the table
the table together piece by piece with
the collecting
mechanism which collect parts of the table until you flush the whole
collection
at the end with the \stopcollecting command.
\starttext
\bTABLE
\startcollecting
\startcollect
\bTABLEbody
\stopcollect
\startcollect
\bTR
\bTD Cell 1\eTD
\bTD
commands, like \bTABLEhead,
\eTABLEhead, bTABLEbody or \eTABLEbody: it seems impossible to
incapsulate them into lua functions. For example, the following is not
compiled:
\starttext
\bTABLE
\ctxlua{context.bTABLEbody()}
\bTR
\bTD Cell 1\eTD
\bTD Cell 2\eTD
\eTR
\ctxlua{context.eTABLEbody()}
\eTABLE
or \eTABLEbody: it seems impossible to
incapsulate them into lua functions. For example, the following is not
compiled:
\starttext
\bTABLE
\ctxlua{context.bTABLEbody()}
\bTR
\bTD Cell 1\eTD
\bTD Cell 2\eTD
\eTR
\ctxlua{context.eTABLEbody()}
\eTABLE
\stoptext
Can anybody suggest a workaround
).
26
27 \startplacefigure[reference=fig:oli-aigua-diposit, location=force,
title={Dipòsit omplit amb aigua i oli}]
28 \bTABLE[frame=off,align={middle,lohi},width=fit]
29 \bTR
30 \bTD
31 \starttikzpicture[scale=0.75]
32 % recipient
33 \draw (0,0) -- (0,10) -- (2,1
. So, when Mikael and I were looking at one of
his documents that mixes a lot of math into itemized situations, a
different variant was made (ok, there was another reason but that's a
bit technical).
At that time, I had already adapted itemize to work a bit better with
bTABLE and starttabulate
. So, when Mikael and I were looking at one of
his documents that mixes a lot of math into itemized situations, a
different variant was made (ok, there was another reason but that's a
bit technical).
At that time, I had already adapted itemize to work a bit better with
bTABLE and starttabulate
h] {\x }; } \draw [color=red!50,
line width=2pt] (0,0) -- (2,0); \stoptikzpicture \par \item \starttikzpicture
\draw (0,0) -- (5,0); \foreach \x in {0, 1, 2,..., 5} { \draw (\x , -0.2) --
(\x , 0.2); \draw (\x ,-0.2) node[anchor=north] {\x }; } \draw [color=green!50,
line width=2pt] (0,0) -- (3,0); \sto
vegeu la figura~\\in [figura:diagrama-punts-5x10])
representeu la informació donada en cada cas. \\par \\placefigure [force]
[figura:diagrama-punts-5x10] {Diagrama de punts $5 \\times 10$} { \\bTABLE
[frame=off,align={middle,lohi},width=fit, offset=2mm] \\bTR \\bTD
\\starttikzpicture \\foreach \\x i
BLE[row] [first] [topframe=on,bottomframe=on,style=bold]
\setupTABLE[row][2][topframe=on]
\setupTABLE[row][2][topframe=off,rightframe=on,leftframe=on,framecolor=lightgray]
\setupTABLE[row][3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22][frame=on,
framecolor=lightgray]
\setupTABLE[row] [last] [to
[1]{\RtH}{\rotate{#1}}
\starttext
\setupTABLE[offset=3pt]
\setupTABLE[header][background=color,backgroundcolor=yellow,align=bottom]
\bTABLE
\bTABLEhead
\bTR \bTH\RtH{animal}\eTH \bTH\RtH{size}\eTH \bTH\RtH{weight}\eTH
\bTH\RtH{average speed}\eTH \eTR
You can change the vertical alignment
]}{}
\rotate[rotation=90]{\externalfigure[dummy]}{}
{\externalfigure[dummy][]}{}
\stopcombination}
}
\flushlayer[test3]
\page
%%% Wolfgang %%%
\centerbox
{\bTABLE[frame=off,offset=7.5mm,align={middle,lohi}]
\bTR
\bTD
\externalfigure[dummy]
\eTD
\bTD
\rotate[rotation=90]{\externalfigure[dummy
gt; > >
> > > \useMPlibrary [dum]
> > >
> > > \starttext
> > >
> > > \definelayer[test3]
> > >
> > > \setlayer[test3][x=2cm,y=15cm]
> > >
> > > {\startcombination[nx=3,ny=1,distance=15mm,after=,location
text
> >
> > \definelayer[test3]
> >
> > \setlayer[test3][x=2cm,y=15cm]
> >
> > {\startcombination[nx=3,ny=1,distance=15mm,after=,location=middle]
> >
> > {\externalfigure[dummy]}{}
> >
> > \rotate[rotation=90]{\externalfigure[dumm
]}{}
{\externalfigure[dummy][]}{}
\stopcombination}
\flushlayer[test3]
\stoptext
\useMPlibrary [dum]
\showframe [text] [text]
\setuplayout [tight]
\starttext
\centerbox
{\bTABLE[frame=off,offset=7.5mm,align={middle,lohi}]
\bTR
\bTD
\externalfigure[dummy
find an option to do that.
> Tried \dontleavehmode or \hfill in my \RtH macro to no avail.
> Is it possible?
>
>
> \define[1]{\RtH}{\rotate{#1}}
>
> \starttext
>
> \setupTABLE[offset=3pt]
> \setupTABLE[header][background=color,backgroundcolor=yellow,align=bottom]
>
\dontleavehmode or \hfill in my \RtH macro to no avail.
> Is it possible?
>
>
> \define[1]{\RtH}{\rotate{#1}}
>
> \starttext
>
> \setupTABLE[offset=3pt]
> \setupTABLE[header][background=color,backgroundcolor=yellow,align=bottom]
> \bTABLE
> \bTABLEhead
> \bTR \bTH
]
\setupTABLE[header][background=color,backgroundcolor=yellow,align=bottom]
\bTABLE
\bTABLEhead
\bTR \bTH\RtH{animal}\eTH \bTH\RtH{size}\eTH \bTH\RtH{weight}\eTH
\bTH\RtH{average speed}\eTH \eTR
\eTABLEhead
\bTABLEbody
\bTR \bTD sparrow \eTD \bTD small \eTD \bTD light \eTD \bTD high \eTD \eTR
\bTR \bTD dog
rttext
\setupTABLE[c][align=middle]
\setupTABLE[c][odd][width=2em]
\setupTABLE[c][even][width=1mm]
\setupTABLE[r][2][height=1mm]
\setupTABLE[c][1][leftframe=off]
\setupTABLE[c][5][rightframe=off]
\bTABLE
\bTR
\bTD 1 \eTD \bTD \eTD \bTD 2 \eTD \bTD \eTD \bTD 3 \eTD
\eTR
\bTR
\bTD \eTD \bTD \eT
Uschi
>
There are probably better ways, but this seems to give something like what
you look for:
\starttext
\setupTABLE[c][align=middle]
\setupTABLE[c][odd][width=2em]
\setupTABLE[c][even][width=1mm]
\setupTABLE[r][2][height=1mm]
\setupTABLE[c][1][leftframe=off]
\setupTABLE[c][5][rightframe=off]
\bTA
\stoptext
However, this does not work (the pictures are all in one row).
Do you have some advice?
you can cheat:
\startplacefigure[title=Test]
\bTABLE[frame=off]
\bTR
\bTD[nx=2,align=middle,offset=overlay]
\dontleavehmode\externalfigure[dummy-1][width=4cm,height=1cm
\startxmlsetups xml:table:tr:td
\NC \xmlflush{#1}
\stopxmlsetups
\starttext
\xmlprocessbuffer{test}{test}{}
\startplacetable
\starttabulate[|p|p|]
\NC a\footnote{3}\NC b\NC\NR
\stoptabulate
\stopplacetable
\startplacetable
\bTABLE
\bTR \bTD One\footnote{4} \eTD \bTD two \eTD
\NC\NR
\stoptabulate
\stopplacetable
\startplacetable
\bTABLE
\bTR \bTD One\footnote{4} \eTD \bTD two \eTD \eTR
\bTR \bTD One \eTD \bTD two \eTD \eTR
\eTABLE
\stopplacetable
% \startpostponingnotes
\startplacetable
\startxtable
\startxrow
\startxcell a\footnote{5}\stopxcell
\startxcell b\footnote
rtsTable]
[separator=comma,left=\bTD,right=\eTD,first=\bTR,last=\eTR,before={
\bTABLE[split=repeat,option=stretch]
\bTABLEhead
\bTR
\bTH Ref. No. \eTH \bTH Part No. \eTH \bTH Description \eTH \bTH Remarks
\eTH
\eTR
\eTABLEhead
\bTABLEbody
},
after={
\eTABLEbody
\eTABLE
}]
\s
\layoutcolumnwidth is coming from so I just hard-coded a width for now.
Lastly there are neater ways (using \setuptable) to define the table but it's
just an example...
\define[2]\MyChapter{
\bTABLE[frame=off]
\bTR
\bTD[width=4cm] \structureuservariable{author} \eTD
just hard-coded a width for now.
Lastly there are neater ways (using \setuptable) to define the table but it's
just an example...
\define[2]\MyChapter{
\bTABLE[frame=off]
\bTR
\bTD[width=4cm] \structureuservariable{author} \eTD
\bTD \structureuservariable{bio} \eTD
xml:table:colgroup:colvar
> \setupTABLE[c][\xmlmatch
> {#1}][align=\xmlvalue{colgroupalignvar}{\xmlatt{#1}{style}}{lefttoright}]
> \stopxmlsetups
>
> \startxmlsetups xml:table:colgroup:col
> \setupTABLE[c][\xmlmatch
> {#1}][\xmlvalue{colgroupalign}{\xmlatt{#1}{style}}{align=lefttor
ment
\xmlflush{#1}
\stopxmlsetups
\startxmlsetups xml:table-wrap
\startplacetable
\xmlflush{#1}
\stopplacetable
\stopxmlsetups
\startxmlsetups xml:table
\xmlfilter {#1} {/colgroup/command(xml:table:colgroup)}
\bTABLE
\xmlfilter{#1}{/thead/command(xml:table:thea
%\xmlvalue{colstyle}{\xmlatt{#1}{style}}{}
\xmlpos {#1}
\stopxmlsetups
\startxmlsetups xml:table
\xmlfilter {#1} {/colgroup/command(xml:table:colgroup)}
\bTABLE
\xmlfilter{#1}{/thead/command(xml:table:thead)}
\xmlfilter{#1}{/tbody/command
intuitive, that always the brackets are placed. Specially while editing \bTABLE
… \eTABLE and the commands belonging to this table-type it could be good to
have the right arrow key to have the command placed with brackets and with the
down-arrow-key the command being placed without brackets
On 12/21/2022 12:39 PM, Ursula Hermann via ntg-context wrote:
Dear List,
In this tabular I wanted to set \Vert. But when I compile it,
\bTABLE
\bTR
\bTD \Vert r1c1\Vert \eTD
\bTD \bf r1c2 \eTD
\bTD \bf r1c3 \eTD
\bTD \bf r1c4 \eTD
\eTR
\bTR
\bTD r2c1 \eTD
\bTD r2c2 \eTD
\bTD[nr=2
> Am 19.05.2022 um 08:14 schrieb Hans Hagen via ntg-context
> :
>
> On 5/18/2022 8:07 PM, Steffen Wolfrum via ntg-context wrote:
>> Hi,
>> I just found an old mail from 30 May 2008:
>> How do I split not only TABLE but cells? It was not possible then.
>> \s
On 5/18/2022 8:07 PM, Steffen Wolfrum via ntg-context wrote:
Hi,
I just found an old mail from 30 May 2008:
How do I split not only TABLE but cells? It was not possible then.
\starttext
\bTABLE[split=yes,option=stretch]
\bTR
\bTD
\input tufte \input knuth Hello world ...
\eTD
\bTD
\input
Hi,
I just found an old mail from 30 May 2008:
How do I split not only TABLE but cells? It was not possible then.
\starttext
\bTABLE[split=yes,option=stretch]
\bTR
\bTD
\input tufte \input knuth Hello world ...
\eTD
\bTD
\input tufte
\eTD
\bTD
\input knuth
\eTD
\eTR
\bTR
\bTD
Test
\eTD
\bTD
right]
\stopsetups
\startsetups headertext
\start
\bTABLE[setups=headertable,option=stretch]
\bTR
\bTD
„ДОЛИНА” Д.О.О. Београд\\
ПЈ за прераду меса\\
ПИБ: СР 100029284\\
МБ: 06434517\\
Текући рачун: 205-157956-65\\
Email: dolin...@gmail.com
\eTD
\bTD
Булевар Краља Александра 334, 11000 Београд\\
011\h
\startsetups headertext
\start
\bTABLE[setups=headertable,option=stretch]
\bTR
\bTD
„ДОЛИНА” Д.О.О. Београд\\
ПЈ за прераду меса\\
ПИБ: СР 100029284\\
МБ: 06434517\\
Текући рачун: 205-157956-65\\
Email: dolin...@gmail.com
\eTD
\bTD
Булевар Краља Александра 334, 11000 Београд\\
011\hspace[tnumber]3806
in advance.
Duncan
--
\startbuffer[demo]
1
2
3
\stopbuffer
\startxmlsetups xml:demo:base
\xmlsetsetup{#1}{*}{xml:demo:*}
\stopxmlsetups
\xmlregisterdocumentsetup{demo}{xml:demo:base}
\startxmlsetups xml:demo:informaltable
\bTABLE
\xmlflush{#1
> \startxmlsetups xml:table-wrap
> \startplacetable
> % \contextversion \par
> \xmlflush{#1}
> \stopplacetable
> \stopxmlsetups
>
> \startxmlsetups xml:table
> \bTABLE
> \xmlflush{#1}
> \eTABLE
> \stopxml
ially with long answers..
That makes a four columns table more cumbersome,
so I believe.
You can use different alignment settings to move the bullet points to
the right side of your lists.
\starttext
\bTABLE[frame=off,width=.4\textwidth,columndistance=.2\textwidth,align={normal,lohi}]
e alternative, align, closesymbol, closecommand to get exactly
what you want; the example above will give a somewhat symmetric layout]
More generally, if the text can multi-line, then I think TABLE (with proper
alignment options) might be better-suited:
%%% start example-2
\define\startItemize{
eader=repeat, option=stretch,
> loffset=.5ex,roffset=.5ex]
>
> \setupTABLE [row] [odd]
> [background=color,backgroundcolor=hs-hellblau,]
>
> \setupTABLE [start] [spaceinbetween=25pt]
>
> \defineseparatedlist
> [preislistecsv]
> [separator={;}, % tab
>befor
,]
\setupTABLE [start] [spaceinbetween=25pt]
\defineseparatedlist
[preislistecsv]
[separator={;}, % tab
before=\bTABLE,after=\eTABLE,
first=\bTR,last=\eTR,
left=\bTD,right=\eTD]
Is it possible to align decimal numbers in cells to the right?
The data differs a lot. Sometimes only the last
:*}
\stopxmlsetups
\xmlregistersetup{xml:tabletestsetups}
\startxmlsetups xml:table-wrap
\startplacetable
% \contextversion \par
\xmlflush{#1}
\stopplacetable
\stopxmlsetups
\startxmlsetups xml:table
\bTABLE
\xmlflush{#1}
\eTABLE
\stopxmlsetups
\startxmlsetups
ult}]
\setvariables
[assignments]
[set={\setups[assignments:set]}]
\startsetups assignments:set
\writestatus{variables}{assignments:set is being called..}
\startalignment[middle]
\bTABLE[frame=off]
\setupTABLE[c][1][align=flushleft,style=bold,distance=2cm]
\setupTABLE[c][2][al
Willi Egger via ntg-context schrieb am 08.01.2022 um 23:57:
I would suggest not to use \starttable at all.
To me the most suitable table environment for such a table is \bTABLE \eTABLE.
It gives you all kind of control over layout, dimensions, frames on and off etc.
I agree natural tables
is \bTABLE \eTABLE.
It gives you all kind of control over layout, dimensions, frames on and off etc.
\setupTABLE[c][1][leftframe=off,width=40mm]
\setupTABLE[c][2][rightframe=off, width=60mm]
\setupTABLE[c][each][align={lohi,center}]
\bTABLE
\bTR
\bTD {\bf Eons}\eTD \bTD {\bf Eras
I would suggest not to use \starttable at all.
To me the most suitable table environment for such a table is \bTABLE \eTABLE.
It gives you all kind of control over layout, dimensions, frames on and off etc.
\setupTABLE[c][1][leftframe=off,width=40mm]
\setupTABLE[c][2][rightframe=off, width=60mm
then. If it is
> > still possible to solve without the surrounding framed I'm interested
> > to hear how.
>
> You have to put the table in a box to change the vertical position.
>
> \starttext
>
> a\tbox{\bTABLE \bTR \bTD xxx\
.
\starttext
a\tbox{\bTABLE \bTR \bTD xxx\par yyy \eTD \eTR \eTABLE}b
\stoptext
Wolfgang
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl / http
\starttext
Foofoo
Bar\bTABLE[width=2cm,location=top]
\bTR \bTD This is a long sentence \eTD \eTR
\eTABLE
The last foo
\stoptext
___
If your question is of interest to others as well, please add an entry to the
Wiki!
t;
> Any ideas ?
>
> I know that natural tables offer more in this regard, but those seem not to
> be so well suited for parallel texts.
>
> I switched to natural tables a long time ago and that's how I would do it:
>
> \starttext
> \bTABLE[width=8cm, frame=of
offer more in this regard, but those seem not to be
so well suited for parallel texts.
I switched to natural tables a long time ago and that's how I would do it:
\starttext
\bTABLE[width=8cm, frame=off]
\setupTABLE[c][1][roffset=0.5em]
\setupTABLE[c][2][loffset=0.5em]
\bTR
\bTD[nc=2,
the cells at the top aren’t merged.
>
> Any ideas ?
>
> I know that natural tables offer more in this regard, but those seem not to
> be so well suited for parallel texts.
I switched to natural tables a long time ago and that's how I would do it:
\starttext
\bTABLE[width=8cm
\startsetups [alexandre:1]
\setupTABLE [start] [frame=off]
\setupTABLE [c] [1] [width=.3\textwidth]
\setupTABLE [c] [2] [width=.6\textwidth]
\stopsetups
\startitemize [a] [right=),stopper=]
\bTABLE[setups=alexandre:1]
\bTR \bTD \dontleavehmode\itemtag\quad Something \eTD \bTD Something
Dear all,
I'm trying something out in LMTX, which is to combine itemize with a table.
Application could be to put a question and the answer in the next column.
A minimal example would be:
\starttext
\startitemize [a] [right=),stopper=]
\bTABLE[frame=off]
\setupTABLE[column][1] [width
natural tables
I found this code on the wiki
% mode=mkiv
\setuppapersize[A5]
\bTABLE
\setupTABLE[c][each][alignmentcharacter={number->.},aligncharacter=yes,align=middle]
\bTABLEhead
\bTR
\bTH Same-Width Prefix \eTH \bTH Varying-Width Prefix \eTH
\bTH Same-Width Suffix \eTH \bTH Varying-Width Suf
ables
I found this code on the wiki
% mode=mkiv
\setuppapersize[A5]
\bTABLE
\setupTABLE[c][each][alignmentcharacter={number->.},aligncharacter=yes,align=middle]
\bTABLEhead
\bTR
\bTH Same-Width Prefix \eTH \bTH Varying-Width Prefix \eTH
\bTH Same-Width Suffix \eTH \bTH Varying-Width Suffix \eTH
\eTR
\
e I have no problem to access values in the
current row.
\usemodule[spreadsheet]
\starttext
\bTABLE
\bTR
\bTD Amount \eTD
\bTD Single \eTD
\bTD Sum \eTD
\eTR
\bTR
\bTD \getspr{2} \eTD
\bTD \getspr{5} \eTD
\bTD \getspr{A[2] * B[2]} \
][2][width=3cm, align=middle]
\setupTABLE[c][each][frame=off]
\stopsetups
\switchtobodyfont[10pt]
\starttext
\doifmode{title}{\title{Rooster}}
\startcolumns[n=2]
\bTABLE[split=yes, setups=tablesettings]
\dorecurse{75}{\bTR \bTD 25 \eTD \bTD aug, wo \eTD \bTD Lecture \eTD \eTR
T. Kurt Bond schrieb am 17.07.2021 um 08:38:
I have the following file:
\setupfloat[table][default=nonumber]
\starttext
\section[title={Tables without force}]
Here is a table without a caption, unforced.
\startplacetable[location=none]
\bTABLE
\bTR\bTD r1c1
On 7/17/21 8:38 AM, T. Kurt Bond wrote:
> I have the following file:
>
> \setupfloat[table][default=nonumber]
>
> \starttext
> \startplacetable[title={Table With A Caption},location=force]
> \bTABLE
> \bTR\bTD r2c1 \eTD\bTD r2c2\eTD\eTR
> \e
Hi all,
I have this sample:
\usemodule[database]
\setuppapersize [A6]
\setupTABLE
[split=yes,
header=repeat]
\defineseparatedlist
[test]
[separator={;}, % tab
before=\bTABLE,after=\eTABLE,
first=\bTR,last=\eTR,
left=\bTD,right=\eTD]
\starttext
\processdatabasefile[test
Hi,
Consider the following MWE:
\starttext
\setupTABLE[
rulethickness=5pt,
framecolor=white, %red,
background=color,
backgroundcolor=gray,
frame=off]
\setupTABLE[1][2][foregroundcolor=white, topframe=on]
\setupTABLE[r][2][topframe=on]
\bTABLE[setups=table:color]
\bTR \bTD One
r][1][height=0cm,topframe=off] \setupTABLE[c][1][width=5cm]
> \setupTABLE[c][4,7][width=3cm] \bTABLE ... \eTABLE
> \setupTABLE[r][each][height=1.3cm,topframe=on]
> \setupTABLE[c][each][width=1.7cm]
> \setupTABLE[c][1,4,7][width=1.7cm] %This is to reset from the previous Table
> \setupT
his indeed is the desired
behavior? Thank you very much.
\setupTABLE[r][each][height=0.5cm,frame=on]
\setupTABLE[c][each][width=0.6cm]
\setupTABLE[r][1][height=0cm,topframe=off]
\setupTABLE[c][1][width=5cm] \setupTABLE[c][4,7][width=3cm] \bTABLE
... \eTABLE \setupTABLE[r][each][height=1.3c
very much.
\setupTABLE[r][each][height=0.5cm,frame=on]
\setupTABLE[c][each][width=0.6cm]
\setupTABLE[r][1][height=0cm,topframe=off] \setupTABLE[c][1][width=5cm]
\setupTABLE[c][4,7][width=3cm] \bTABLE ... \eTABLE
\setupTABLE[r][each][height=1.3cm,topframe=on]
\setupTABLE[c][each][width=1.7cm]
\setupTABL
natures into one, however Okular doesn't.
I could, however, isolate the original issue I posted on the ML:
Actually forms still work, but they don't, if embedded into TABLEs.
Here's a MWE:
\setupinteraction[state=start]
\definefield[lineField][line][][][]
\starttext
\bTABLE[] \bTR
Hi,
I uploaded a new version of lmtx: a next step in this matrix and such
graphic part ... (also bTABLE done).
The matrix bit has a high level MP interface, also because it's a nice
example of implementing one (not much code needed actually).
Support in bTABLE .. eTABLE is kind
> \setupcaptions[
>> > >number=no, %<- comment and table appears
>> > >align=flushright]
>> > > \starttext
>> > > \startplacecombination[title=Combination]
>> > >\startfloatcombination
>> >
Singular}
\setupTABLE[c][1,2,3][width=5cm]
\placetable[none][]{}{
\bTABLE[setups=tablesettings]
\bTR
\bTH Pronoun \eTH \bTH Particle \eTH \bTH Noun \eTH \eTR
\bTR
\bTH Mimi/Wewe/Yeye \eTH \bTH ni \eTH \bTH Mtanzania/Mmarekani
/Mke
Singular}
\setupTABLE[c][1,2,3][width=5cm]
\placetable[none][]{}{
\bTABLE[setups=tablesettings]
\bTR \bTH Pronoun \eTH \bTH Particle \eTH \bTH Noun \eTH \eTR
\bTR \bTH Mimi/Wewe/Yeye \eTH \bTH ni \eTH \bTH Mtanzania/Mmarekani
/Mkenya \eTH \eTR
\bTR \bTH {\sl I/You/He or She} \eTH \bTH {\sl am
{\bf Singular}
\setupTABLE[c][1,2,3][width=5cm]
\placetable[none][]{}{
\bTABLE[setups=tablesettings]
\bTR \bTH Pronoun \eTH \bTH Particle \eTH \bTH Noun \eTH \eTR
\bTR \bTH Mimi/Wewe/Yeye \eTH \bTH ni \eTH \bTH Mtanzania/Mmarekani /Mkenya \eTH \eTR
\bTR \bTH {\sl I/
][corner=07]
\setupTABLE[last][last][corner=06]
\setupTABLE[column][last][style={\setcharacterspacing[frenchpunctuation]}]
\stopsetups
\bTABLE[setups=tablesettings]
%\bTABLEhead
\bTR
\bTH espéranto \eTH
\bTH exemple \eTH
\bTH équivalent en français \eTH
\eTR
%\eTABLEhead
%\bTABLEbody
Hi,
Another example:
\definetweakedfont[squeezed] [xscale=0.90]
\bTABLE
\bTR \bTD foo \eTD \bTD[style=\squeezed] $x = 1$ \eTD \eTR
\bTR \bTD oof \eTD \bTD[style=\squeezed] $x = 2$ \eTD \eTR
\eTABLE
\bTABLE[style=squeezed]
\bTR \bTD $x = 1$ \eTD \bTD $x
appears
> >align=flushright]
> > \starttext
> > \startplacecombination[title=Combination]
> >\startfloatcombination
> > \startplacetable%[title=Table] %<- uncomment and table appears
> >\bTABLE \bTR \bTD Cell \eTD \eTR \eTABLE
> &
ble%[title=Table] %<- uncomment and table appears
\bTABLE \bTR \bTD Cell \eTD \eTR \eTABLE
\stopplacetable
\stopfloatcombination
\stopplacecombination
\stoptext
In the latest LMTX version of ConTeXt, the table is not shown. (In MKIV
it is present.) Either commenting
ppears
\bTABLE \bTR \bTD Cell \eTD \eTR \eTABLE
\stopplacetable
\stopfloatcombination
\stopplacecombination
\stoptext
In the latest LMTX version of ConTeXt, the table is not shown. (In MKIV it
is present.) Either commenting line 3 or activating the table title in line
8 makes the table appear.
=white]
\setupTABLE[row][odd][backgroundcolor=back-3]
\setupTABLE[row][1][topframe=on,bottomframe=on,framecolor=
black,rulethickness=0.75pt]
\setupTABLE[row][4][bottomframe=on,framecolor=black,rulethickness=0.75pt]
\bTABLE[width=broad]
\bTR\bTD {\bf Damage >\\Soak by:}\ \eTD\bTD {\bf
Stun\\Le
On Sun, 6 Dec 2020, T. Kurt Bond wrote:
> On Sun, Dec 6, 2020 at 2:20 AM Aditya Mahajan wrote:
>
> > On Sun, 6 Dec 2020, T. Kurt Bond wrote:
> >
> > > Setting maxwidth and textwidth on the \bTABLE doesn't seem to do
> > anything.
> >
> > Use:
to get them right.
Thanks for the help!
On Sun, Dec 6, 2020 at 2:20 AM Aditya Mahajan wrote:
> On Sun, 6 Dec 2020, T. Kurt Bond wrote:
>
> > Setting maxwidth and textwidth on the \bTABLE doesn't seem to do
> anything.
>
> Use:
>
> \bTABLE[width=br
On Sun, 6 Dec 2020, T. Kurt Bond wrote:
> Setting maxwidth and textwidth on the \bTABLE doesn't seem to do anything.
Use:
\bTABLE[width=broad]
\eTABLE
Aditya
___
If your question is of interest to others as w
On Sat, 5 Dec 2020, T. Kurt Bond wrote:
> If I understand correctly, \setupTABLE applies to each table after the
> \setupTABLE, correct? If so, can you make it only apply to one table?
If you really need it for one table:
\bTABLE
\setupTABLE[...][...]
\setupTABLE[...][...]
\bTR ..
Setting maxwidth and textwidth on the \bTABLE doesn't seem to do anything.
--
T. Kurt Bond, tkurtb...@gmail.com, https://tkurtbond.github.io
___
If your question is of interest to others as well, please add an entry
Thanks for the help!
On Sat, Dec 5, 2020 at 10:21 PM Jairo A. del Rio
wrote:
> Hi,
> You could enclose your table and setup using \bgroup and \egroup
>
> \bgroup
> \setupTABLE ...
> \bTABLE ... \eTABLE
> \egroup
>
> \begingroup ... \endgroup also works, although I ha
Hi,
You could enclose your table and setup using \bgroup and \egroup
\bgroup
\setupTABLE ...
\bTABLE ... \eTABLE
\egroup
\begingroup ... \endgroup also works, although I have to admit I'm not
aware of the differences between both.
Regards,
Jairo :)
El sáb., 5 de dic. de 2020 10:01 p. m., T
:
>>>
>>>
>>> \documentclass{article}
>>> \begin{document}
>>> $M =\left( \begin{array}{c|c}
>>> A & B \\
>>> \hline
>>> C & D \\
>>> \end{array} \right)$
>>> \end{document}
e with LaTeX
>> (cf pdf output) :
>>
>>
>> \documentclass{article}
>> \begin{document}
>> $M =\left( \begin{array}{c|c}
>> A & B \\
>> \hline
>> C & D \\
>> \end{array} \right)$
>> \end{document}
>&
gt; I didn't find out how to use mathmatrix to achieve this. My best result to
> date is
>
>
> \starttext
> $M = \left( \bTABLE[frame=off]
> \bTR
> \bTD[rightframe=on, bottomframe=on] $A$ \eTD
> \bTD[bottomframe=on] $B$ \eTD
&
\\
> \hline
> C & D \\
> \end{array} \right)$
> \end{document}
>
>
> I didn't find out how to use mathmatrix to achieve this. My best result to
> date is
>
>
> \starttext
> $M = \left( \bTABLE[frame=off]
&
1 - 100 of 1588 matches
Mail list logo